package com.sh.data.engine.domain.normalization.standard.model.param;

import lombok.Builder;
import lombok.Data;
import lombok.experimental.Tolerate;

import java.io.Serializable;
import java.util.Date;

/**
 * @author binghe
 * @email binghe.yxh@xuelangyun.com
 */
@Data
@Builder(toBuilder = true)
public class DictionaryMappingReportParam implements Serializable {
    /**
     * 主键
     */
    private Long id;

    /**
     * 项目id
     */
    private Long projectId;

    /**
     * 数据库id
     */
    private Long datasourceBaseId;

    /**
     * hive库tbls表id
     */
    private Long tblId;

    /**
     * 外部表表名称
     */
    private String tableName;

    /**
     * 表描述
     */
    private String tableDes;

    /**
     * 命中数量
     */
    private Integer hitCount;

    /**
     * 表字段数量
     */
    private Integer fieldCount;

    /**
     * 来源 0虎符
     */
    private Integer mapSource;

    /**
     * 删除状态 0删除 1未删除
     */
    private Integer rowState;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 更新时间
     */
    private Date updateTime;

    private String tableFieldJson;

    private String dbName;

    private String jdbcUrl;

    @Tolerate
    public DictionaryMappingReportParam() {
    }
}
